body {
  font-family: "Arial", sans-serif;
  background: #ece8e8;
  padding: 20px;
  color: #333;
}

.container {
  max-width: 900px;
  margin: auto;
}

.menu a, .btn {
  display: inline-block;
  margin: 10px;
  padding: 10px 15px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.menu a:hover, .btn:hover {
  background: #0056b3;
}

.exam-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: white;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.blue-pagination {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 2px;
  border-radius: 4px;
  cursor: pointer;
}

.blue-pagination:hover {
  background-color: #0056b3;
}

.pagination {
  text-align: center;
  margin-top: 20px;
}

.nav-buttons {
  margin: 20px 0;
}

.answer-card {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.card-item {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background: #ccc;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.record-table th, .record-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.navbar {
  background-color: #007bff;
  color: white;
  padding: 15px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.navbar nav a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: 40px;
  padding: 15px;
  background-color: #f1f1f1;
  text-align: center;
  color: #666;
  font-size: 14px;
}
.form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  max-width: 500px;
  margin: 20px auto;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

.form-group .btn {
  background-color: #28a745;
  border: none;
  padding: 12px;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

.form-group .btn:hover {
  background-color: #218838;
}


